From: Felix Fietkau Date: Mon, 7 Jul 2025 15:15:54 +0000 (+0200) Subject: hostapd: enable CONFIG_OCV when 802.11be support is enabled X-Git-Url: http://git.openwrt.org/%22https:/collectd.org/%22http:/www.crowdsec.net//%22https%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22https%22?a=commitdiff_plain;h=a7ab0d5bff9da337f077b686dc2669dd9fb1037b;p=openwrt%2Fopenwrt.git hostapd: enable CONFIG_OCV when 802.11be support is enabled The 802.11be supoort code unconditionally calls ocv related functions Signed-off-by: Felix Fietkau --- diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index d3d4dfddc8..cdaf636c4a 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -99,7 +99,9 @@ DRIVER_MAKEOPTS= \ CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \ CONFIG_IEEE80211BE=$(HOSTAPD_IEEE80211BE) \ CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) \ - CONFIG_UCODE=y CONFIG_APUP=y + CONFIG_UCODE=y CONFIG_APUP=y \ + $(if $(HOSTAPD_IEEE80211BE),CONFIG_OCV=y) + ifeq ($(SSL_VARIANT),openssl) DRIVER_MAKEOPTS += CONFIG_TLS=openssl CONFIG_SAE=y